package com.pick.base.exception;

/**
 * 用户未找到异常
 */
public class UserNotFoundException extends BusinessException {

    public UserNotFoundException() {
        super("用户不存在");
    }

    public UserNotFoundException(String message) {
        super(message);
    }

    public UserNotFoundException(Long userId) {
        super("用户不存在，ID: " + userId);
    }

    public UserNotFoundException(String username, boolean isUsername) {
        super("用户不存在，用户名: " + username);
    }
}